using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using NHibernate.Context;

namespace Clanta.Web.Administration
{
    public partial class Customers : System.Web.UI.Page
    {
        protected void Page_Init(object sender, EventArgs e)
        {
            //ManagedWebSessionContext.Bind(HttpContext.Current, 
        }

        protected void CustomerListWebPart1_CustomerSelected(object sender, Clanta.Web.Controls.CustomerListWebPart.CustomerEventArgs e)
        {
            CustomerDetailsWebPart1.ShowDetailsForCustomer(e.Customer);
            Label1.Text = string.Format("Customer '{0}' has been selected", e.Customer.Name);
        }
    }
}
